<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的模板</title>

</head>

<body>


    <div id="app">
        <!-- <input type="text" v-bind:value="message" @input="inPut($event,2411)"> {{message}} -->
        <input type="text" v-bind:value="message" @input="message = $event.target.value"> {{message}}
    </div>


    <input type="text" id="sss">
</body>



<script src="https://cdn.bootcss.com/vue/2.6.11/vue.js"></script>
<script>
    const app = new Vue({
        el: '#app',

        data: {
            message: '你好',
        },
        methods: {
            inPut: function(event, aa) {
                console.log(aa);
                this.message = event.target.value;
            },
        },
    });
</script>